package org.raymond.iworks.apis.vo.role;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
public class RoleUpdateVO {
    /**
     * 角色Id
     */
    @EqualsAndHashCode.Include
    @NotNull
    private Long id;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 备注
     */
    private String remark;

    private String state;

    /**
     * 关联的权限
     */
    private List<Long> permissions;
}
